//系统级别的提示
#tips {
    position: fixed;
    display: none;
    left: 50%;
    top: 50%;
    padding: 10px;
    background: rgba(0,0,0,.7);
    border-radius: 4px;
    text-align: center;
    z-index: 2000;
    img {
        margin:0 auto;
        width:20px;
        height:20px
    }
    .msg {
        max-width: 180px;
        color: #fff;
    }
}

#site-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    background: #f8f8f8;
    border-bottom: 1px solid #dfdfdf;
    height: 45px;
    line-height: 45px;
    overflow: hidden;
    li.home {
        float: left;
        width: 50px;
        background: url(../images/logo70x50.png) no-repeat center center;
        background-size: auto 30px;
        text-indent: -999px;
        border-right: 1px solid #dfdfdf;
        a {
            display: block;
        }
    }
    li.level {
        float: left;
        padding: 0 15px 0 10px;
        background: url(../images/nav-level-bg.png) no-repeat right center;
        font-size: 16px;
        color: #333;
        a {
            text-decoration: none;
            font-size: 16px;
            color: #333;
        }
    }
}

.layout1 {
    height: 80px;
    overflow: hidden;
    &.left {
        width: 100px;
        height: 80px;
        line-height: 80px;
        text-align: center;
        border-radius: 2px;
        overflow: hidden;
        img {
        }
    }

    &.right {
        -webkit-box-flex: 1;
        -moz-box-flex: 1;
        -ms-flex: 1;
        -o-box-flex: 1;
        box-flex: 1;
        padding-left: 10px;
        .r-t {
            max-height: 40px;
            overflow: hidden;
            line-height: 20px;
            font-size: 14px;
            color: #333;
        }

        .r-b {
            margin-top: 3px;
            max-height: 30px;
            overflow: hidden;
            line-height: 16px;
            font-size: 12px;
            color: #888;
        }
    }
}

.banner {
    height: 160px;
    .swiper-container {
        height: 160px;
        overflow: hidden;
        position: relative;
    }
    .img, img {
        width: 100%;
    }

    .title {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 0 10px;
        background: rgba(0, 0, 0, 0.5);
        font-size: 12px;
        line-height: 2;
        color: #fff;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }
}

#game-box {
    padding: 5px 5px;

    .visa-icon {
        height: 100px;
        line-height: 100px;
        background: #02aac2 url(../images/visa.png) no-repeat center 15px;
        margin-right: 5px;
        p {
            padding-top: 25px;
            font-size: 18px;
            color: #fff;
        }
    }

    .top, .bottom {
        height: 48px;
        line-height: 48px;
        background: #02aac2;
        font-size: 18px;
        color: #fff;
        a {
            font-size: 18px;
            color: #fff;
            text-decoration: none;
        }
    }
    .top {
        background: #02aac2 url(../images/game.png) no-repeat 20px center;
    }
    .bottom {
        background: #02aac2 url(../images/record.png) no-repeat 20px center;
    }
}

#news-box {
    .navs {
        border-top: 2px solid #02aac2;
        background-image: -moz-linear-gradient(bottom, #8fd4f5, #baf0d6);
        background-image:-webkit-linear-gradient(to bottom, #8fd4f5, #baf0d6);
        background-image:linear-gradient(to bottom, #8fd4f5, #baf0d6);
        .nav {
            font-size: 16px;
            height: 38px;
            line-height: 38px;
            color: #888;
            text-align: center;
            &.active {
                color: #333;
                background: #fff;
                box-shadow: 2px 2px 5px #ccc;
            }
        }
        margin-bottom: 10px;
    }

    .news {
        .new {
            height: 32px;
            line-height: 32px;
            border-bottom: 1px solid #efefef;
            padding: 0 5px;
            a {
                display: block;
                font-size: 14px;
                color: #333;
                text-decoration: none;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
            }
        }
    }
}


#newdetail-box {
    position: relative;
    top: 45px;
    left: 0;
    width: 100%;
    padding: 0 5px 20px;
    h3.title {
        padding: 10px 0;
        font-size: 20px;
        color: #1a1a1a;
    }
    p.time {
        line-height: 20px;
        font-size: 12px;
        color: #777;
    }

    section.content {
        margin-top: 10px;
        font-size: 14px;
        color: #333;
        p {
            margin-bottom: 20px;
            text-align: justify;
            line-height: 24px;
        }
        img {
            text-align: center;
            width: 100%;
        }
    }
}

//新闻列表
#new-items {
    position: relative;
    top: 100px;
    left: 0;
    margin: 0 5px;
    li {
        padding: 10px 0;
        border-bottom: 1px solid #efefef;
        a.href {
            display: block;
            text-decoration: none;
        }
    }
}

#area-type {
    position: fixed;
    top: 45px;
    left: 0;
    z-index: 10;
    width: 100%;
    padding: 10px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    .item {
        height: 35px;
        line-height: 35px;
        margin: 0 2px;
        background: #02aac2;
        text-align: center;
        font-size: 12px;
        color: #fff;
        a.href {
            display: block;
            font-size: 12px;
            color: #fff;
            text-decoration: none;
        }
    }
}

#area_nav-box {
    position: fixed;
    top: 45px;
    left: 0;
    width: 100%;
    .label {
        height: 45px;
        line-height: 45px;
        box-shadow: 1px 1px 0 #f6f4f0;
        h3.title {
            font-size: 14px;
            color: #333;
            .arrow.up {
                position: relative;
                bottom: 2px;
                left: 2px;
                border: 5px solid #f6f4f0;
                border-bottom: 5px solid #6BD7A2;
            }
            .arrow.down {
                position: relative;
                top: 2px;
                left: 2px;
                border: 5px solid #fff;
                border-top: 5px solid #ccc;
            }
        }
        &.active {
            background: #f6f4f0;
            .title {
                color: #6BD7A2;
            }
        }
    }
    #country-in , #country-out , #theme {
        position: absolute;
        left: 0;
        display: none;
        width: 100%;
        li {
            width:20%;
            float: left;
            height: 40px;
            line-height: 40px;
            background: #f6f4f0;
            border-right: 1px solid #6BD7A2;
            border-bottom: 1px solid #6BD7A2;
            font-size: 12px;
            color: #666;
        }
        &.active {
            display: block;
        }
    }
}
